D
D
Dmitry Astvafiev2017-08-17 08:51:12
Python
Dmitry Astvafiev, 2017-08-17 08:51:12

How to write your OpenID?

How to write your own OpenID system knowing only JavaScript + Node.js, or what else is required to write such a system/server. ?
We are developing a game with a friend, the task is to make our own OpenID system so that users do not have to create a new account for each resource.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-04-12
@saund901

Both curl and requests have tiny documentation that can be read in two minutes!

url = 'https://abc.de/post'
headers = {
    'X-Device-Token': token,
}
data = {
    'sub_id': 123,
    'title': 'test title text',
    'text': 'test post text',
}
r = requests.post(url, data=data, headers=headers)
print(r.text)

T
Ternick, 2019-04-12
@Ternick

Everything is on the Internet :)
TYK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question