thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.49k stars 1.12k forks source link

how to create token basic Bearer , Non JWT #705

Closed honarkhah closed 7 years ago

honarkhah commented 7 years ago

old token 40char i need thats. how to config for NonJWT response?

alexbilbie commented 7 years ago

Best to use the old 4.* branch - https://github.com/thephpleague/oauth2-server/releases/tag/4.1.5

bauer01 commented 6 years ago

Why I should use legacy version 4.* .... there souhld an option to disable built-in jwt....for example when I use some openidconnect built on top of this solution like https://github.com/steverhoades/oauth2-openid-connect-server ;-)

Sephster commented 6 years ago

We currently have someone working on a PR to make it easier to implement alternatives to JWT should you wish.

mikefrancis commented 5 years ago

@Sephster Hi, do you have the PR to hand? I am guessing it might have gone a bit stale and am interested to see if I can pick it up after discussion over on here https://github.com/laravel/passport/issues/543

mabar commented 5 years ago

I would also like to be able pick an alternative. I am currently working on oauth2-server integration for Nette and Apitte frameworks and I want choose paragonie/paseto instead of JWT

davidvalero commented 5 years ago

Any update about this suggestion? I need to implement a basic token but I'm having problems to do it.

DJPretorius commented 4 years ago

@Sephster, Has there been any progress on using non JWT bearer tokens?