Skip to content

Reddit API #248

Open
Open
@renanogueira

Description

@renanogueira

Hello, I'm new here!
I would like to know if it's possible to run Reddit OAuth...
I'm trying a lot but my app always crash on authorize granted...
The docs is: https://github.com/reddit-archive/reddit/wiki/OAuth2
I don't know if there's something I need to do before or after...

My provider:

reddit: {
		auth_version: '2.0',
		authorize_url: ({ app_name }) =>
			'https://www.reddit.com/api/v1/authorize.compact' +
			`?client_id=CLIENT_ID` +
			`&response_type=code` +
			`&state=${state}` +
			`&redirect_uri=http://localhost/reddit` +
			`&duration=permanent` +
			`&scope=identity`,
		access_token_url: 'https://www.reddit.com/api/v1/access_token',
		callback_url: 'http://localhost/reddit'
	}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions