Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Authentication OpenRasta

Hi I´m building an application that has a token based authentication ex:

http://www.host.com/resource?token=589437534

I was going write an interceptor or something like that, but I imagine that there is something more elegant available that I just could´t find.

What is the best way yo implement this kind of authentication with OpenRasta ?

like image 562
MIchel Avatar asked May 19 '26 12:05

MIchel


1 Answers

From an http PoV you should really not roll your own token-based hidden non-standard authentication and should instead try to use one of the many standardized ways of doing http auth (basic or digest) or one of the many SAML/OpenId/OAuth ways of doign token-based.

If you go for the latter, then there's an extension point for http authentication you can find in OpenRasta - Scott Littlewoods Basic Authentication working example

like image 147
SerialSeb Avatar answered May 22 '26 01:05

SerialSeb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!