I am making a Laravel application which will be issuing bearer token using Laravel Passport. So the idea is that a client who wants to use our system will come and register and create the Client_Secret and the Client_ID, then upon creating these oath clients credentials the client will then take these credentials and integrate them in his application. Now here is the problem, upon the client integrating the Client_ID and the Client_Secret in his application I want him to use those credentials to request the authorization code on the Laravel system and make the bearer token (using his own app), now according to Laravel documentation on Laravel passport it says that the Oath API for making the authorization code and the bearer token is guarded by the web and Auth middleware; therefore, it may only be called from your own application. It is not able to be called from an external source. Does that mean that there is no way of allowing external users to access the oath routes of passports using their external applications? or is it ok to allow them make the bearer token on the Laravel system and taking that token to integrate them in their own app?
Allowing unauthenticated Users to Access Oath routes in Laravel Passport
156 Views Asked by Chanda chewe At
1
There are 1 best solutions below
Related Questions in PHP
- php Variable name must change in for loop
- register_shutdown_function is not getting called
- Query returning zero rows despite entries existing
- Retrieving *number* pages by page id
- Automatically closing tags in form input?
- How to resize images with PHP PARSE SDK
- how to send email from localhost using codeigniter?
- Mariadb max Error while sending QUERY packet PID
- Multiusers login redirect different page in php
- Imaginary folder when I use "DirectoryIterator" in PHP?
- CodeIgniter + XDebug: debug only working in the main controller, index() function
- PHP script timeout when I use sleep()
- posting javascript populated form to another php page
- AJAX PHP - Reload div after submit
- PHP : How can I check Array in array?
Related Questions in LARAVEL
- Attempting to bind Guzzle Curl Client to Laravel's Service Container -- then Type Hint the Client Fails when attempting to __construct()
- Can not access the 3rd table in laravel 5 in 3 tables have relationships
- No laravel sync folders in homestead vagrant on windows
- How to use where date(timeline) in Laravel Query Builder
- Laravel Eloquent "Many-to-Many-to-One ?"
- Laravel: Locale Session: Controller gets Parameter to change it but it cant. U have to hardcode it
- Stopping an infinite loop process in vagrant
- Insert multiple rows in Laravel
- laravel full-text search with multiple keywords together
- Laravel : Saving a belongsToMany relationship
- Add a Controller to a Laravel 5 Package
- Laravel. Eloquent query for two tables
- Add readonly attribute in form model binding only when editing in laravel 5
- Laravel firstOrNew how to check if it's first or new?
- How to show variable in view blade.php page using laravel paginator::make
Related Questions in LARAVEL-8
- Laravel - Implementing Stripe payment gateaway - Error
- How to change Jetstream logo in Laravel 8?
- Laravel Fortify Customize Authentication Redirect
- Laravel 8 delete bootstrap/cache/config file
- 500 Internal Server Error when trying to delete mysql data record using ajax in laravel 8
- Sengrid tries to send mail to empty receipient, eventhough To is given
- Method Laravel\Passport\Bridge\AccessToken::__toString() must not throw an exception, caught InvalidArgumentException error after upgrading
- Laravel 8 multi auth using jetstream fortify?
- How can I overcome Laravel 8 template system problem
- How can I do select some columns of a relation in the resources model?
- Laravel 8 Failed to clear cache. Make sure you have the appropriate permissions
- route model binding doesn't work anymore with api package devolpment in in Laravel 8.x
- Laravel 8 Database Factories
- How to resolve RootTagMissingFromViewException error while adding new Livewire component in Laravel 8 with Jetstream
- How to validate a unique field on a record update
Related Questions in LARAVEL-PASSPORT
- Laravel Passport use Different Model
- How to limit user actions with Laravel Passport Scopes + Password Grant Type
- Working with Laravel Passport scopes: typical workflow
- Laravel Passport - Grant Type Not Supported
- Unit test with Laravel Passport scope
- Laravel Passport : Additional Model Conditions while sending Token Request
- User registration for API/SPA
- require is not defined in app.js for laravel passport
- How can I authenticate a request using Laravel Passport having the access token in query string instead of in header?
- Laravel Passport return 401 with Select2 ajax
- Laravel Passport Print Personal Access Token
- Store client secret, id and token in a react app
- LARAVEL - PASSPORT - Expires_at column not verified in token validation
- Laravel + Passport - why does "auth:api" send me to login form?
- Laravel: QueryException when using Laravel Passport with Postgres
Related Questions in LARAVEL-JWT
- Laravel: JWT based authorization, Working in Postman but NOT in Browser
- API JWT guard and web session guard in Laravel
- use laravel jwt authentication only for api without affecting web
- Allowing unauthenticated Users to Access Oath routes in Laravel Passport
- laravel get sender http host with JWTAuth
- Laravel Policy Always returns 403 unauthorized
- Laravel jwt returns 500, on unauthorized
- How to enable both api and web guard in laravel
- JWT authentication with Laravel & Vuejs
- How to call me function in laravel based jwt , Its giving 401 error when hit from my react application?
- Laravel :How to authenticated user login with mobile number only and create jwt token for auth data
- Laravel API response Unauthenticated even when Authentication is passed
- Laravel Jwt auth attempts returns false always
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
the idea of this token from passport is to protect routes
when you can't use api request if the token in header not accept with you server
but when the token is accept with your server you can use it the api request from anywhere the simple example postman