EPAM Systems interview question

how oauth 2.0 works multithreading in java springboot