wish I watched this 2 months ago. great explanation, thanks! is there anything on using OAUTH2 with the API?
@GorailsTV7 жыл бұрын
Not yet, but are you talking about authenticating via OAuth and then using the returned token to access the API?
@blackbirdy2309807 жыл бұрын
yes, unless there's a better way than returning a token to access the API?
@GorailsTV7 жыл бұрын
OAUth is mostly for third party apps that want to consume your app like you see with apps that connect with Github, etc. If you just want to connect a mobile app, you can have an auth endpoint that verifies the username and password and returns a token directly instead. Much easier to do than OAuth for it.
@blackbirdy2309807 жыл бұрын
thanks, but I think I'll need OAUTH. :)
@DoHuyHung947 жыл бұрын
Thank for video, can you tell me add dynamic attributes in ActiveModel serializer, not default as in video. Thank
@haydencole61293 жыл бұрын
A trick : watch series at flixzone. Been using them for watching a lot of movies these days.
@kianpierce39123 жыл бұрын
@Hayden Cole yup, I've been watching on flixzone for months myself =)
@bakasan00003 жыл бұрын
@17:45 It's unfortunate that the has many is included by default. We may not want to send that information with every request.