Extension. oAuth

Hello

I try to create an extension that login with OAuth on my own service.

I didn't find default staff for that. Could you share an experience with me?

When I create an application between my service and extension what should I put into the Redirect URL field?

How can I get a token from the response URL?

Looking forward your ideas or advices